#!/usr/bin/python

import os
import cgi
import cgitb
cgitb.enable()

print "Content-Type: text/html\n"

print "<html>"
print "<head><title>Hallo Tim</title></head>"
print "<body>"
if os.environ["HTTP_ACCEPT_LANGUAGE"][:2]=='en':                 
    print "Hello World!"
else:
    print "Hallo Welt!"
print "</body>"
print "</html>"
